package com.jfeat.am.module.wegou.services.domain.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jfeat.am.module.wegou.services.domain.model.ProductStoreModel;
import com.jfeat.am.module.wegou.services.persistence.model.ProductStore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by vincent on 2017/10/19.
 */
public interface QueryProductStoreService {

    // 根据 tag 名字 查找 restaurant

    List<ProductStoreModel> findRestaurantByTag(Page<ProductStoreModel> page,
                                                     @Param("productRestaurant") ProductStore productRestaurant,
                                                     String tagName,
                                                     String tagZhName);

    List<ProductStore> findProductRestaurantPage(Page<ProductStore> page, ProductStore productrestaurant);
}